package com.simple.entity.operator;


import javax.persistence.*;

@Entity(name="operator")
public class Operator {

    @Id
    private int operator_id;

    private int role_id;
    private String operator_name;
    private String account;
    private String password;

    public int getOperatorId() {
        return operator_id;
    }

    public void setOperatorId(int operatorId) {
        this.operator_id = operatorId;
    }

    public int getRoleId() {
        return role_id;
    }

    public void setRoleId(int roleId) {
        this.role_id = roleId;
    }

    public String getOperatorName() {
        return operator_name;
    }

    public void setOperatorName(String operatorName) {
        this.operator_name = operatorName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
